const TronWeb = require('tronweb')
const config = require('./config')

const instance = new TronWeb(
  config.providers.fullNode,
  config.providers.solidityNode,
  config.providers.eventServer,
  config.agentKey,
)

module.exports = instance